<form id="send_good-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-name" class="col-sm-2 control-label">商品名称</label>
        <div class="col-sm-8">
            <input type="text" class="form-control selectpage"
                   data-source="item/item/getitemlist" data-multiple="true" data-search-field="title" data-field="title"
                   id="c-name" name="goodsname" placeholder="商品名称" required>
        </div>
        <button type="button" href="#" class="btn btn-primary" id="c-goods">确认</button>
    </div>
    <div id="type" style="display: none;">{$type}</div>
    <div class="form-group" id="showTable">
        <label for="c-goods" class="col-sm-2 control-label">商品数据</label>
        <div class="col-sm-10">
            <table class="table">
                <thead id="head">
                <tr>
                    <th scope="col">#</th>
                    <th scope="col">First</th>
                    <th scope="col">Last</th>
                    <th scope="col">Handle</th>
                </tr>
                </thead>
                <tbody id="table">

                </tbody>
            </table>
        </div>
    </div>
</form>